package com.augurit.wf.common.extmodel;

import java.util.List;

import com.augurit.common.base.extmodel.base.BaseTreeNode;
import com.augurit.wf.common.service.IWfService;

/**
 * 流程版本树基类节点
 */
public abstract class ProcessReleaseTreeNode extends BaseTreeNode {
	
	public static final String ROOT_NODE = "process-realse-root-node";	 	//根结点
	public static final String PROCESS_NODE = "process-name-node";	//流程节点
	public static final String VERSION_NODE = "process-version-node";	//版本节点
	
	// 流程名称CSS
	public static final String CLS_PROCESS_NAME = "icon-process-name";
	// 流程版本CSS
	public static final String CLS_PROCESS_VERSION = "icon-process-version";
	
	protected String type;
	protected String value;
	
	/**
	 * 获取孩子节点
	 * @param wfService
	 * @return
	 */
	public abstract List<ProcessReleaseTreeNode> getChildNodes(IWfService wfService);
	
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
	
}
